# Maintainer:
pkgname=font-spleen
pkgver=2.0.2
pkgrel=0
pkgdesc="Monospaced bitmap font"
url="https://github.com/fcambus/spleen"
arch="noarch"
license="BSD-2-Clause"
subpackages="consolefont-spleen:_consolefont"
source="https://github.com/fcambus/spleen/releases/download/$pkgver/spleen-$pkgver.tar.gz"
builddir="$srcdir/spleen-$pkgver"
options="!check" # font

build() {
	gzip -9n ./*.psfu
}

package() {
	install -Dm644 ./*.psfu.gz \
		-t "$pkgdir"/usr/share/consolefonts/
	install -Dm644 ./*.otb fonts.alias \
		-t "$pkgdir"/usr/share/fonts/spleen/
}

_consolefont() {
	amove usr/share/consolefonts
}

sha512sums="
74752e93d7c1f641bd21a7b133e8807ed6787bbd438b066edf7d359a7e92d299b0375dbfba1d56cc6af931c99de9c9ae35f98b60fe5b581de04bc213b9235e42  spleen-2.0.2.tar.gz
"
